package com.gree.framework.annotation;

import com.gree.framework.entity.SysUser;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/*
 *  方法参数级别的注解 获取用户信息的
 *
 *
 * */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.PARAMETER)
public @interface User {
    Class value() default SysUser.class;
}
